package com.brzjomo.secretiveworld.world.biome;

import com.brzjomo.secretiveworld.world.biome.feature.ModBiomeFeature;

import net.minecraft.entity.EntityClassification;
import net.minecraft.entity.EntityType;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.biome.DefaultBiomeFeatures;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

public class StillForest extends Biome {

	public StillForest(Builder biomeBuilder) {
		super(biomeBuilder);
		addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.FOX, 30, 2, 3));
		addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.RABBIT, 35, 3, 6));
		addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.PANDA, 5, 1, 2));
		addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.BEE, 10, 1, 5));
		addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.CAT, 5, 1, 3));
		addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.SHEEP, 10, 2, 3));
		// 怪物
		addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.WITCH, 5, 1, 1));
		addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.ZOMBIE, 8, 1, 1));
		addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.ZOMBIE_VILLAGER, 2, 1, 1));
		addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.SKELETON, 5, 1, 1));
		ModBiomeFeature.addCave(this);
		ModBiomeFeature.addLake(this);
		DefaultBiomeFeatures.addOres(this);
		DefaultBiomeFeatures.addSedimentDisks(this);// 沙砾、粘土等
		DefaultBiomeFeatures.addStoneVariants(this);// 沙砾、闪长岩等
		DefaultBiomeFeatures.addStructures(this);
		ModBiomeFeature.addDenseGrassWithFern(this);
		DefaultBiomeFeatures.addTallGrass(this);
		ModBiomeFeature.addLargeFern(this);
		DefaultBiomeFeatures.addDefaultFlowers(this);
		DefaultBiomeFeatures.addMushrooms(this);//
		DefaultBiomeFeatures.addBerryBushes(this);
		ModBiomeFeature.addSparseBamboo(this);
		DefaultBiomeFeatures.addGiantTreeTaigaTrees(this);
		ModBiomeFeature.addTree(this);
		ModBiomeFeature.addSparseLaurelTree(this);
		ModBiomeFeature.addMelon(this);
		ModBiomeFeature.addUnderWaterGrass(this);
		ModBiomeFeature.addLilyPad(this);
	}

//	@OnlyIn(Dist.CLIENT)
//	public int getSkyColor() {
//		return 0x8661F3;
//	}
}
